package com.sixth.service.impl;

import com.sixth.dao.CourseDao;
import com.sixth.entity.Course;
import com.sixth.service.CourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: self-tui-education
 * @description:
 * @author: 高振杨
 * @create: 2022-05-06 15:56
 **/
@Service
public class CourseServiceImpl implements CourseService {
    @Autowired
    private CourseDao courseDao;
    @Override
    public Course selectCourseById(String courseId) {
        Course course = courseDao.selectById(courseId);
        return course;
    }
}
